package com.fang.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/redi")
@Controller
public class RedirectUrlControll {

    @RequestMapping("/one")
    public String deo1() {
        return "redirect:http://www.baidu.com";
    }



}
